﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="seller_order_edit.aspx.cs" Inherits="Order_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
       
    </style>
</head>
<body>
    <form id="form1" runat="server">
      <div>
        <div style="text-align:center;  border-style: none; border-color: inherit; border-width: 0; margin: 0 auto; width:700px; height:376px; ">
            <div style="width:700px; height:31px; border:0">     
                <div style=" margin:0 auto; width:509px; height:30px; text-align:center; font-size:x-large; background-color: #33CCFF;" >
                订单信息
                </div> 
            </div>
            <div style="width:509px; height:334px; margin:0 auto; text-align:center">
                <asp:GridView ID="orderList" runat="server" AutoGenerateColumns="False" 
                      AllowPaging="True" Width="509px" onrowcommand="orderList_RowCommand" >
                  <Columns>
                    <asp:BoundField DataField="Ord_Idint" HeaderText="订单号"></asp:BoundField>
                    <asp:BoundField DataField="User_Idint" HeaderText="下单人编号" Visible="false"></asp:BoundField>
                    <asp:BoundField DataField="Ord_ContactManstr" HeaderText="联系人" Visible="false"></asp:BoundField>
                    <asp:BoundField DataField="Ord_Datedate" HeaderText="订单日期"></asp:BoundField>
                    <asp:BoundField DataField="orderStates" HeaderText="订单状态"></asp:BoundField>
                  
                    <asp:HyperLinkField DataNavigateUrlFields="Ord_Idint" DataNavigateUrlFormatString="seller_order_infor.aspx?Ord_Idint={0}" HeaderText="查看" Text="查看" Target="Right" />
                    
                    <asp:TemplateField HeaderText="删除">
                      <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="deleteOrder"                        
                        CommandArgument='<%#DataBinder.Eval(Container.DataItem,"Ord_Idint")%>'   Text="删除" OnClientClick='<%#  "if (!confirm(\"你确定要删除吗?\")) return false;"%>'></asp:LinkButton>  
                      </ItemTemplate>
                    </asp:TemplateField>       
                  </Columns>
                </asp:GridView>
                <asp:LinkButton ID="pageFirst" runat="server" Text="首页" CommandArgument="First"></asp:LinkButton>
                &nbsp;
                <asp:LinkButton ID="pagePrev" runat="server" Text="上一页" CommandArgument="Prev"></asp:LinkButton>
                &nbsp;
                <asp:LinkButton ID="pageNext" runat="server" Text="下一页" CommandArgument="Next"></asp:LinkButton>
                &nbsp;
                <asp:LinkButton ID="pageLast" runat="server" Text="最后一页" CommandArgument="Last"></asp:LinkButton>
            </div>
        </div>
      </div>
    </form>
</body>
</html>
